import React , { Component } from 'react';
import { StyleSheet, Text, View, Button, Platform } from 'react-native';
import { StackNavigator, TabNavigator } from 'react-navigation';
import Ionicons from 'react-native-vector-icons/Ionicons';

export default class HomeScreen extends Component {
    render() {
        const { navigate } = this.props.navigation;
        return (
            <View>
                <Text>Hello, Chat App!</Text>
                <Button
                    onPress={() => navigate('Products')}
                    title="Chat with Lucy adfa fsdfdssad !"
                /><Text>asdfadsfafas</Text>
                <Ionicons
                    name={'ios-home'}
                    size={16}
                />
            </View>
        );
    }
}


